
import axios from '../request'
interface Banner {
    banner: string;
}
export function getDetails(data?: any) {
    return axios.request<Banner>({
        url: "/customize/findDownloadFile",
        method: "post",
        data: { customizeId: 2 },
    });
}
// page: 1,
// pageSize: 12,
export function gitWorksVote(data?: any) {
    return axios.request({
        url: "/customize/findCustomizeWorksVote",
        method: "post",
        data: {
            customizeId: 2,
            ...data
        },
    });
}
export function selectNewsList(data?: any) {
    return axios.request({
        url: "/news/selectNewsList",
        method: "post",
        data: data
    });
}
export function verification(data?: any) {
    return axios.request({
        url: "/certificate/findCertificate",
        method: "post",
        data: data
    });
}
export function findWorksOne(data?: any) {
    return axios.request({
        url: "/works/findWorksOne",
        method: "post",
        data: data
    });
}
export function selectNewsFIRST(data?: any) {
    return axios.request({
        url: "/news/selectNewsFIRST",
        method: "post",
        data: data
    });
}
export function worksVote(data?: any) {
    return axios.request({
        url: "/works/worksVote",
        method: "post",
        data: data
    });
}


